package net.borlis.sample.services.facade.ws.request;

import net.borlis.dictionaries.product.DeprecatedProductType;
import net.borlis.dictionaries.product.HierarchyLevelDictionary;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by alexander.borlis on 15.08.2014.
 */
@XmlRootElement
public class ProviderSettingsUpdateRequest {

    @XmlElement(name = "productType")
    private DeprecatedProductType productType;

    @XmlElement(name = "typedDynamixProviderId")
    private Long typedDynamixProviderId;

    @XmlElement(name = "travelPeriodId")
    private Long travelPeriodId;

    @XmlElement(name = "hierarchyLevel")
    private HierarchyLevelDictionary hierarchyLevel;

    @XmlElement(name = "releaseDays")
    private Integer releaseDays;

    @XmlElement(name = "travelDurationList")
    private List<TravelDurationRequest> travelDuration;

    public ProviderSettingsUpdateRequest() {
    }

    public Long getTypedDynamixProviderId() {
        return typedDynamixProviderId;
    }

    public void setTypedDynamixProviderId(Long typedDynamixProviderId) {
        this.typedDynamixProviderId = typedDynamixProviderId;
    }

    public Long getTravelPeriodId() {
        return travelPeriodId;
    }

    public void setTravelPeriodId(Long travelPeriodId) {
        this.travelPeriodId = travelPeriodId;
    }

    public HierarchyLevelDictionary getHierarchyLevel() {
        return hierarchyLevel;
    }

    public void setHierarchyLevel(HierarchyLevelDictionary hierarchyLevel) {
        this.hierarchyLevel = hierarchyLevel;
    }

    public Integer getReleaseDays() {
        return releaseDays;
    }

    public void setReleaseDays(Integer releaseDays) {
        this.releaseDays = releaseDays;
    }

    public List<TravelDurationRequest> getTravelDuration() {
        return travelDuration;
    }

    public void setTravelDurationList(List<TravelDurationRequest> travelDurationList) {
        this.travelDuration = travelDurationList;
    }

    public DeprecatedProductType getProductType() {
        return productType;
    }

    public void setProductType(DeprecatedProductType productType) {
        this.productType = productType;
    }
}
